package com.example.questionnaire.service;

import com.example.questionnaire.pojo.DO.Questionnaire;

import java.util.Map;

public interface QuestionnaireSettingService {
 //   boolean agreement(String formid, String title, String content, int showNum, String agree, String disagree, int shortestReadingTime, int seconds);


    boolean handlingWayAfterSummit(String formid, int type, String content, Boolean handling);


    boolean SetupSharing(String formid, String isTheTitle, String subtitle, Boolean isAllowedToShare, String imgUrl, Boolean shareWithTheQuery);

   // boolean SetTheAppearanceOfTheQuestionnaire(String formid, String toEnableTheCover, String btnText, String backgroundColor, boolean isActivitiesThat, String activitiesBtnBgColor, String graphicPageLinks, boolean customButton, String customButtonColor, String customButtonUrl, String submitBtnColor, String titleColor, String topicDryColor, String textSize, String titleSize);






    Map<String, Object> GetSettingsSharing(String formid);

    Questionnaire getSetting(String formid);

    boolean setting(String formid, String dateTimeRange, int ceiling, Boolean repeatAnswer, String repeatTip, Boolean handling, Boolean shareWithTheQuery, Boolean isIp, String ipLimit, Boolean isWechat, String weChatLimit, Boolean isPhone, String phoneLimit, String beforeTheStartOfTheClues, String afterTheEndOfTheClues, String questionnaireLimitTip);

    Questionnaire getHandlingWayAfterSummit(String formid);
}
